#!/usr/bin/python3
# -*- coding:utf-8 -*-
"""
@author: 
@time: 2024/2/27 9:01 PM
@Function: 请输入模块功能描述
"""
from playwright.sync_api import Page, expect, sync_playwright

with sync_playwright() as p:
    browser=p.chromium.launch(headless = False)#无头模式
    page=browser.new_page()
    page.goto("https://www.baidu.com")
    print(page.title())
    browser.close()